package finalVersie;

public class Coordinaat {
private int x;
private int y;

Coordinaat(int x, int y){
	this.x = x;
	this.y = y;	
}

public int geefX(){
	return x;
}

public int geefY(){
	return y;
}

public void transleer(Richting richting){
	x = x + richting.geefX();
	y = y + richting.geefY();
}

}
